package com.exam;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
@EnableTransactionManagement // 开启注解方式的事务管理
@MapperScan("com.exam.mapper")
@EnableCaching//开启缓存注解功能

//@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
public class ExamsystemApplication {
    public static void main(String[] args) {
        SpringApplication.run(ExamsystemApplication.class, args);
    }


}

